package edu.sctu.xuping.month05.day20150505;

/**
 * Created by user23 on 2015/4/29.
 */
public class Dog2 extends CreateAbstract {
    public CreateKou create;

    public Dog2(CreateKou create) {
        this.create = create;
    }

    @java.lang.Override
    public void getAction() {

        action = "跑";
    }

    @java.lang.Override
    public void getSize() {

        size = 89;
    }

    @java.lang.Override
    public void getColor() {
        color = "红";
    }

    public void getValue() {

        create.getFor(action, size, color);
    }
}
